# 指定CMake的最低版本要求
cmake_minimum_required(VERSION 3.10)

# 指定项目名称和语言
project(test_instruction)

# 设置C编译器标准
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")

include_directories(include)

file(GLOB SOURCES "src/*.cpp")
add_executable(test_instruction ${SOURCES})

# target_link_libraries(test_instruction some_libraries)

# 设置安装规则
install(TARGETS test_instruction RUNTIME DESTINATION bin)
